package com.imooc.highter_order_function

object CurryApp extends App {

  //normal func
  def sum(a:Int,b:Int) = a + b
  println(sum(2,3))

  //curry func
  def sum2(a:Int)(b:Int) = a+b
  println(sum2(2)(3))

}
